home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 8 / Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO / 034a / tuthex.arj / TUTHEX1.TXT next >
Text File  |  1992-05-10  |  3KB  |  53 lines

  1. TUTORIAL  "HEXING 101" -PART 1
  2. Thanks to Keith, I'll pass on what he and others have taught
  3. me, I hope.  First, my objectives:
  4. 1. START FROM SCRATCH - that's where I was. Zero knowledge.
  5. 2. Hexidecimal thinking, and how to use debug/PCTools
  6. 3. An easy, "starter" hex job for the beginner.
  7. 4. A more involved hex job.
  8. 5. A discussion of the .SPC file and what's where.
  9. 6. A discussion of the .INT file.
  10. 7. A discussion of the BGERMSTR.PAC and BAMERSTR.PAC files,
  11.    and how to customize them.
  12. 8. Methods of painless plane swapping.
  13. 9. More advanced hex techniques, and several methods of
  14.    "discovering" new things.  Use of "Rosetta Stones".
  15. Some of you are way beyond these initial lessons, but bear
  16. with me-it will get better.
  17. WHAT YOU WILL NEED:  You will need a) a limited knowledge of
  18. DOS (copy command, cd, how to move from directory to
  19. directory, filenames and extensions etc) b) a hex editor.  I
  20. cannot imagine doing this with debug only.  I strongly
  21. recommend PCTools V.6, but any hex editor that will allow you
  22. to "look" inside the file at the hexidecimal values will do.
  23. NOTICE: I don't know it all....I am getting good at hexing,
  24. but when it comes to DOS in general, and DEBUG, and
  25. computers, I am not so swift.  I will answer questions as
  26. best I can, but may need to defer to the real experts!
  27. 1. "Hexing" or "doing a patch" refers to changing values
  28. inside a file to make the program act differently.  The .SPC
  29. files, located in the SWOTL\AC subdirectory, contain the info
  30. about each plane in the game.  Change these files, and you
  31. can change the plane.  For example, there is a file called
  32. P51D.SPC and another called P51B.SPC.  These contain the info
  33. that make these planes unique.  Each plane in the stock game
  34. has it's own .SPC file.  The very first step in hexing is to
  35. make a backup copy of ALL of these .SPC files.  Do this with
  36. the DOS COPY command, ie COPY P51D.SPC P51D.BAK  or, from the
  37. C> prompt,  COPY C:\SWOTL\AC\P51D.SPC C:\SWOTL\AC\P51B.BAK
  38. This makes a duplicate copy of your P51D.SPC file under a
  39. different name.  You can use any new name you want, but by
  40. using .BAK for all your backups it will help you stay
  41. organized.  Why back them all up?  Because after you change
  42. the .SPC file all around while experimenting, you can undo
  43. any damage simply by typing COPY P51D.BAK P51D.SPC  -this
  44. reinstates the original file from the backup, and all changes
  45. are gone.  No matter what you do, you are safe as long as you
  46. have the .BAK file, so you can return to normal.  (at the
  47. very worst, you could find the P51D.SPC file on the original
  48. game disks and copy it in).  So this gives you the "freedom"
  49. to experiment - any goofs, and just copy the .BAK file back
  50. into the .SPC file.  Your plane is "normal" again.  Any
  51. quesions? Please ask!  Next lesson - DEBUG.COM and
  52. Hexidecimal math.
  53.